<h2><?php echo ucfirst($txt->getWord('contact_information')); ?></h2>
<?php 
$userTitle = '';
if($adc->CurrentAd->getContactCompany() != '')
{ $userTitle = $adc->CurrentAd->getContactCompany(); }
else
{ $userTitle = $adc->CurrentAd->getContactName(); }
?>
<?php if($adc->CurrentAd->getPartnerStatus() > 1): ?>
	<?php if(is_object($adc->CurrentAd->getUserImage())): ?>
    <a href="/profile/<?php echo $adc->CurrentAd->getUserId(); ?>/" onclick="_gaq.push(['_trackEvent', 'PartnerKlikk', '<?php echo $userTitle; ?>', 'Logo', 0]);"><img alt="Logo" class="icon" src="<?php echo $adc->CurrentAd->getUserImage()->getLink(185, 0); ?>" /></a><br />
    <?php endif; ?>
<?php endif; ?>
<h3><?php echo $userTitle; ?></h3>
<table cellpadding="0" cellspacing="0" border="0">
	<?php if($adc->CurrentAd->getLocationZip() != ''):  ?>
	<tr><td><?php echo $adc->CurrentAd->getLocationZip(); ?></td><td>&nbsp;</td><td><?php echo $adc->CurrentAd->getLocationCity(); ?></td></tr>
	<?php endif; ?>
	<?php if($adc->CurrentAd->getContactPhone() != ''):  ?>
	<tr><td><?php echo ucfirst($txt->getWord('telephone')); ?>:</td><td>&nbsp;</td><td><a onclick="_gaq.push(['_trackEvent', 'PartnerKlikk', '<?php echo $userTitle; ?>', 'Telefon', 0]);" href="tel:<?php echo $adc->CurrentAd->getContactPhone(); ?>"><?php echo $adc->CurrentAd->getContactPhone(); ?></a></td></tr>
	<?php endif; ?>
	<?php if($adc->CurrentAd->getContactMob() != ''):  ?>
	<tr><td><?php echo ucfirst($txt->getWord('mobile')); ?>:</td><td>&nbsp;</td><td><a onclick="_gaq.push(['_trackEvent', 'PartnerKlikk', '<?php echo $userTitle; ?>', 'Telefon', 0]);" href="tel:<?php echo $adc->CurrentAd->getContactPhone(); ?>"><?php echo $adc->CurrentAd->getContactMob(); ?></a></td></tr>
	<?php endif; ?>
</table>
<?php if($adc->getSetting('SafetyPage')): ?>
<hr />
<p class="hidden-print">
<a class="btn btn-block btn-info btn-small btn-sm" href="/m/<?php echo $adc->getSetting('SafetyPage'); ?>/"><i class="icon-info-sign"></i>&nbsp;&nbsp;<?php echo ucfirst($txt->getWord('read_about').' '.$txt->getWord('safe_trading')); ?>&nbsp;&nbsp;<i class="icon-warning-sign"></i></a>
</p>
<hr class="hidden-print" />
<?php endif; ?>
<?php if($adc->CurrentAd->getContactEmail() != ''):  ?><br />
<p class="hidden-print"><a class="btn btn-block btn-primary btn-large btn-lg bold" onclick="jQuery('#contactSellerForm').show('blind');"><?php echo ucfirst($txt->getWord('send').' '.$txt->getWord('e-mail')); ?> <i class="icon-envelope icon-white"></i></a></p>
<?php 
if($adc->getForms('contactSeller')->Fields['info']->getInfo() != '')
{ 
	echo $adc->getForms('contactSeller')->Fields['info']->getInfo(); 
	$adc->getForms('contactSeller')->Fields['info']->setInfo('');
}
?>
<div id="contactSellerForm" class="hidden-print" style="display:none;">
	<hr />
	<form name="contactSeller" method="post" enctype="multipart/form-data" action="">
		<fieldset class="com_form">
			<?php echo $adc->getForms('contactSeller')->getFieldsHTML(); ?>
			<input class="btn btn-primary btn-block" type="submit" name="submit" value="<?php echo ucfirst($txt->getWord('send').' '.$txt->getWord('e-mail')); ?>" />
		</fieldset>
	</form><hr />
</div>
<?php endif; ?>
<?php if($adc->CurrentAd->getPartnerStatus() > 1): ?>
	<p class="hidden-print"><br /><a class="bold" href="/profile/<?php echo $adc->CurrentAd->getUserId(); ?>/">Vis flere annonser fra forhandler</a><br /></p>
    <?php if($adc->CurrentAd->getContactWeb() != ''):  ?>
    <p class="hidden-print"><br  /><a onclick="_gaq.push(['_trackEvent', 'PartnerKlikk', '<?php echo $userTitle; ?>', '<?php echo $adc->CurrentAd->getContactWeb(); ?>', 0]);" target="_blank" class="bold" href="<?php echo $adc->CurrentAd->getContactWeb(); ?>"><?php echo ucfirst($txt->getWord('homepage')); ?></a></p>
    <?php endif; ?>
<?php endif; ?>
<br />
<?php if($adc->CurrentAd->getContactName() != ''):  ?>
<p class="bold"><?php echo ucfirst($txt->getWord('contact_person')); ?></p>
<p><?php echo $adc->CurrentAd->getContactName(); ?></p>
<?php endif; ?>